package entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Erjizuzhi entity. @author MyEclipse Persistence Tools
 */

public class Erjizuzhi implements java.io.Serializable {
	
	// Fields

	private Long id;
	private Yijizuzhi yijizuzhi;
	private String code;
	private String namejian;
	private String namequan;
	private String address;
	private String jianjie;
	private String beizhu;
	private String status;
	private Set depts = new HashSet(0);
	private Set bumenxinchous = new HashSet(0);

	// Constructors

	/** default constructor */
	public Erjizuzhi() {
	}

	/** full constructor */
	public Erjizuzhi(Yijizuzhi yijizuzhi, String code, String namejian,
			String namequan, String address, String jianjie, String beizhu,
			String status, Set depts, Set bumenxinchous) {
		this.yijizuzhi = yijizuzhi;
		this.code = code;
		this.namejian = namejian;
		this.namequan = namequan;
		this.address = address;
		this.jianjie = jianjie;
		this.beizhu = beizhu;
		this.status = status;
		this.depts = depts;
		this.bumenxinchous = bumenxinchous;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Yijizuzhi getYijizuzhi() {
		return this.yijizuzhi;
	}

	public void setYijizuzhi(Yijizuzhi yijizuzhi) {
		this.yijizuzhi = yijizuzhi;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getNamejian() {
		return this.namejian;
	}

	public void setNamejian(String namejian) {
		this.namejian = namejian;
	}

	public String getNamequan() {
		return this.namequan;
	}

	public void setNamequan(String namequan) {
		this.namequan = namequan;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getJianjie() {
		return this.jianjie;
	}

	public void setJianjie(String jianjie) {
		this.jianjie = jianjie;
	}

	public String getBeizhu() {
		return this.beizhu;
	}

	public void setBeizhu(String beizhu) {
		this.beizhu = beizhu;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Set getDepts() {
		return this.depts;
	}

	public void setDepts(Set depts) {
		this.depts = depts;
	}

	public Set getBumenxinchous() {
		return this.bumenxinchous;
	}

	public void setBumenxinchous(Set bumenxinchous) {
		this.bumenxinchous = bumenxinchous;
	}

}